<template>
    <view>
        <view class="cell" @click="goDetail()">便民服务</view>
        <view class="cell" @click="gotoArticle()">文章详情页</view>
        <view class="cell" @click="goTest()">测试组件测试</view>
    </view>

</template>

<script>
export default {
    data(){
        return {}
    },
    methods:{
        goTest(){
            uni.navigateTo({url: "/amenity/pages/list/test"})
        },
        goDetail(){
            console.log(uni.getSystemInfoSync(),uni.getMenuButtonBoundingClientRect())
            uni.navigateTo({url: "/amenity/pages/list/index"})
        },
        gotoArticle(){
            uni.navigateTo({url: "/pages/home/article"})
        }
    }
}
</script>

<style>
.cell {
    height: 30px;
    line-height: 30px;
}
</style>